package cn.wolfcode.mp.service;

import cn.wolfcode.mp.domain.Employee;
import cn.wolfcode.mp.query.EmployeeQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * mybatis-plus 自定义服务接口
 * 1>自定义接口IEmployeeService，继承IService
 * 2>明确指定泛型，当前接口操作实体对象：Employee
 */
public interface IEmployeeService extends IService<Employee> {

    /**
     * 分页查询
     * @param qo
     * @return
     */
    Page<Employee> queryPage(EmployeeQuery qo);
}
